package org.mimizet;

/**
 * Have a look at http://www.tek271.com/software/java/memoizer
 */

import java.io.InputStream;
import java.io.OutputStream;

/**
 * User: Admin
 * Date: 28.08.11
 * Time: 23:48
 */
public interface Serializer {
    public void serialize(Object object, OutputStream out);
    public <T> T deserialize(InputStream is, Class<? extends T> aClass);
    public Object deserialize(InputStream is);
}
